﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BCD RID: 3021
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyRollRandomScRsp : IMessage<MonopolyRollRandomScRsp>, IMessage, IEquatable<MonopolyRollRandomScRsp>, IDeepCloneable<MonopolyRollRandomScRsp>, IBufferMessage
	{
		// Token: 0x17002608 RID: 9736
		// (get) Token: 0x06008712 RID: 34578 RVA: 0x00166BDB File Offset: 0x00164DDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyRollRandomScRsp> Parser
		{
			get
			{
				return MonopolyRollRandomScRsp._parser;
			}
		}

		// Token: 0x17002609 RID: 9737
		// (get) Token: 0x06008713 RID: 34579 RVA: 0x00166BE2 File Offset: 0x00164DE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyRollRandomScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700260A RID: 9738
		// (get) Token: 0x06008714 RID: 34580 RVA: 0x00166BF4 File Offset: 0x00164DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyRollRandomScRsp.Descriptor;
			}
		}

		// Token: 0x06008715 RID: 34581 RVA: 0x00166BFB File Offset: 0x00164DFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomScRsp()
		{
		}

		// Token: 0x06008716 RID: 34582 RVA: 0x00166C04 File Offset: 0x00164E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomScRsp(MonopolyRollRandomScRsp other) : this()
		{
			this.lHMKHBFOLHE_ = ((other.lHMKHBFOLHE_ != null) ? other.lHMKHBFOLHE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008717 RID: 34583 RVA: 0x00166C5C File Offset: 0x00164E5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyRollRandomScRsp Clone()
		{
			return new MonopolyRollRandomScRsp(this);
		}

		// Token: 0x1700260B RID: 9739
		// (get) Token: 0x06008718 RID: 34584 RVA: 0x00166C64 File Offset: 0x00164E64
		// (set) Token: 0x06008719 RID: 34585 RVA: 0x00166C6C File Offset: 0x00164E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ADNEJCJKBNF LHMKHBFOLHE
		{
			get
			{
				return this.lHMKHBFOLHE_;
			}
			set
			{
				this.lHMKHBFOLHE_ = value;
			}
		}

		// Token: 0x1700260C RID: 9740
		// (get) Token: 0x0600871A RID: 34586 RVA: 0x00166C75 File Offset: 0x00164E75
		// (set) Token: 0x0600871B RID: 34587 RVA: 0x00166C7D File Offset: 0x00164E7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700260D RID: 9741
		// (get) Token: 0x0600871C RID: 34588 RVA: 0x00166C86 File Offset: 0x00164E86
		// (set) Token: 0x0600871D RID: 34589 RVA: 0x00166C8E File Offset: 0x00164E8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600871E RID: 34590 RVA: 0x00166C97 File Offset: 0x00164E97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyRollRandomScRsp);
		}

		// Token: 0x0600871F RID: 34591 RVA: 0x00166CA8 File Offset: 0x00164EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyRollRandomScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.LHMKHBFOLHE, other.LHMKHBFOLHE) && this.Retcode == other.Retcode && this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008720 RID: 34592 RVA: 0x00166D08 File Offset: 0x00164F08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lHMKHBFOLHE_ != null)
			{
				num ^= this.LHMKHBFOLHE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008721 RID: 34593 RVA: 0x00166D76 File Offset: 0x00164F76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008722 RID: 34594 RVA: 0x00166D7E File Offset: 0x00164F7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008723 RID: 34595 RVA: 0x00166D88 File Offset: 0x00164F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lHMKHBFOLHE_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.LHMKHBFOLHE);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008724 RID: 34596 RVA: 0x00166E00 File Offset: 0x00165000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lHMKHBFOLHE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LHMKHBFOLHE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008725 RID: 34597 RVA: 0x00166E70 File Offset: 0x00165070
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyRollRandomScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lHMKHBFOLHE_ != null)
			{
				if (this.lHMKHBFOLHE_ == null)
				{
					this.LHMKHBFOLHE = new ADNEJCJKBNF();
				}
				this.LHMKHBFOLHE.MergeFrom(other.LHMKHBFOLHE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008726 RID: 34598 RVA: 0x00166EEC File Offset: 0x001650EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008727 RID: 34599 RVA: 0x00166EF8 File Offset: 0x001650F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 16U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EventId = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.lHMKHBFOLHE_ == null)
					{
						this.LHMKHBFOLHE = new ADNEJCJKBNF();
					}
					input.ReadMessage(this.LHMKHBFOLHE);
				}
			}
		}

		// Token: 0x04003369 RID: 13161
		private static readonly MessageParser<MonopolyRollRandomScRsp> _parser = new MessageParser<MonopolyRollRandomScRsp>(() => new MonopolyRollRandomScRsp());

		// Token: 0x0400336A RID: 13162
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400336B RID: 13163
		public const int LHMKHBFOLHEFieldNumber = 1;

		// Token: 0x0400336C RID: 13164
		private ADNEJCJKBNF lHMKHBFOLHE_;

		// Token: 0x0400336D RID: 13165
		public const int RetcodeFieldNumber = 2;

		// Token: 0x0400336E RID: 13166
		private uint retcode_;

		// Token: 0x0400336F RID: 13167
		public const int EventIdFieldNumber = 12;

		// Token: 0x04003370 RID: 13168
		private uint eventId_;
	}
}
